package com.hqyj.springBoot.config;


import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: Hu
 * @Date: 2022/09/13/9:24
 * @Description:
 */
@Configuration
public class MybatisPageConfig {
    @Bean
    public PaginationInterceptor page(){
        return new PaginationInterceptor();
    }
}
